package com.xmtlxx.oms.domain.bo;

import com.xmtlxx.common.core.domain.BaseEntity;
import com.xmtlxx.common.core.validate.AddGroup;
import com.xmtlxx.common.core.validate.EditGroup;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;

/**
 * 财物业务对象 t_property
 *
 * @author xmtlxx
 * @date 2022-08-12
 */

@Data
@EqualsAndHashCode(callSuper = true)
@ApiModel("财物业务对象")
public class PropertyBo extends BaseEntity {

    /**
     * 货品id
     */
    @ApiModelProperty(value = "货品id")
    private String id;

    /**
     * 货品名称
     */
    @ApiModelProperty(value = "货品名称", required = true)
    @NotBlank(message = "货品名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String name;

    /**
     * 货品编号
     */
    @ApiModelProperty(value = "货品编号", required = true)
    @NotBlank(message = "货品编号不能为空", groups = { AddGroup.class, EditGroup.class })
    private String pno;

    /**
     * 分类ID
     */
    @ApiModelProperty(value = "分类ID", required = true)
    @NotBlank(message = "分类ID不能为空", groups = { AddGroup.class, EditGroup.class })
    private String classifyId;

    /**
     * RFID
     */
    @ApiModelProperty(value = "RFID")
    private String rfid;

    /**
     * 库位ID
     */
    @ApiModelProperty(value = "库位ID")
    private String locatorId;

    /**
     * 状态
     */
    @ApiModelProperty(value = "状态")
    private String status;

    /**
     * 删除标识
     */
    @ApiModelProperty(value = "删除标识")
    private String delFlag;

    private String storeId;

    private String areaId;

    /**
     * 案件id
     */
    @ApiModelProperty(value = "案件id")
    private String caseId;
    /**
     * 案件编号
     */
    @ApiModelProperty("案件编号")
    private String caseNo;

    private String character;

    /**
     * 移交类型
     */
    @ApiModelProperty("移交类型")
    private String transferType;

    /**
     * 所队移交状态
     */
    @ApiModelProperty("所队移交状态：0-待移交 1-已移交")
    private String transferStatus;

    /**
     * 区县移交状态
     */
    @ApiModelProperty("区县移交状态：0-待移交 1-已移交")
    private String countyTransferStatus;
    /**
     * 二级分类
     */
    private String secondClassifyId;

    /**
     * 三级分类
     */
    private String thirdClassifyId;

    /**
     * 扣押单位编码
     */
    private Long officeId;

    /**
     * 办案民警
     */
    private String personName;
    /**
     * 所属单位
     */
    private Long deptId;

    /**
     * 保管单位
     */
    private Long belongDeptId;


    /**
     * 保管单位
     */
    private String belongStoreId;

    /**
     * 保管场所
     */
    private String belongDeptName;

    /**
     * 单位
     */
    private String unit;

    /**
     * 财物数量
     */
    private Long nums;

    private String updatePno;

    @ApiModelProperty("财物入库编码")
    private String qrcode;

    /**
     * 筛选单位
     */
    private Long loginDeptId;

    private String isCar;

    private String pname;


    /**
     * 入库数
     */
    @ApiModelProperty("入库数")
    private Long innums;
    /**
     * 出库数
     */
    @ApiModelProperty("出库数")
    private Long outnums;
    /**
     * 处置数
     */
    @ApiModelProperty("处置数")
    private Long deals;
    /**
     * 调用数
     */
    @ApiModelProperty("调用数")
    private Long tnums;
    /**
     * 归还数
     */
    @ApiModelProperty("归还数")
    private Long rnums;

    private String key;

    private String warnShow;

    private String inventoryStatus;

    private String isSecurity;

    /**
     * 保管位置
     */
    private String warehouseLocation;

    /**
     * 保管仓库
     */
    private String custodianPlace;

    private String carType;

    private String taskNo;

    /**
     * 鉴定
     */
    private String evaluate;
}
